import request from '@/utils/request'

// 查询分拣状态统计列表
export function listWcs_sorted_status_percent(query) {
  return request({
    url: '/wcs/wcs_sorted_status_percent/list',
    method: 'get',
    params: query
  })
}

// 查询分拣状态统计详细
export function getWcs_sorted_status_percent(id) {
  return request({
    url: '/wcs/wcs_sorted_status_percent/' + id,
    method: 'get'
  })
}

// 新增分拣状态统计
export function addWcs_sorted_status_percent(data) {
  return request({
    url: '/wcs/wcs_sorted_status_percent',
    method: 'post',
    data: data
  })
}

// 修改分拣状态统计
export function updateWcs_sorted_status_percent(data) {
  return request({
    url: '/wcs/wcs_sorted_status_percent',
    method: 'put',
    data: data
  })
}

// 删除分拣状态统计
export function delWcs_sorted_status_percent(id) {
  return request({
    url: '/wcs/wcs_sorted_status_percent/' + id,
    method: 'delete'
  })
}

// 导出分拣状态统计
export function exportWcs_sorted_status_percent(query) {
  return request({
    url: '/wcs/wcs_sorted_status_percent/export',
    method: 'get',
    params: query
  })
}